[INFO] cloning repository https://github.com/naari3/ppt-undo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naari3/ppt-undo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c72069d3c057804f39f26574f49d805436fc497
[INFO] building naari3/ppt-undo against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/naari3/ppt-undo on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/naari3/ppt-undo
[INFO] finished tweaking git repo https://github.com/naari3/ppt-undo
[INFO] tweaked toml for git repo https://github.com/naari3/ppt-undo written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/naari3/ppt-undo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded inputbot v0.5.0
[INFO] [stderr]   Downloaded input v0.5.0
[INFO] [stderr]   Downloaded udev v0.4.0
[INFO] [stderr]   Downloaded input-sys v1.15.0
[INFO] [stderr]   Downloaded enum_derive v0.1.7
[INFO] [stderr]   Downloaded ioctl-sys v0.5.2
[INFO] [stderr]   Downloaded uinput-sys v0.1.7
[INFO] [stderr]   Downloaded uinput v0.1.3
[INFO] [stderr]   Downloaded process-memory v0.4.0
[INFO] [stderr]   Downloaded nix v0.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 45adf46d2546433f714b299cac0b0bc0d2b7e7e7e67d960a33afbb1a27491bd4
[INFO] running `Command { std: "docker" "start" "-a" "45adf46d2546433f714b299cac0b0bc0d2b7e7e7e67d960a33afbb1a27491bd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45adf46d2546433f714b299cac0b0bc0d2b7e7e7e67d960a33afbb1a27491bd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45adf46d2546433f714b299cac0b0bc0d2b7e7e7e67d960a33afbb1a27491bd4", kill_on_drop: false }`
[INFO] [stdout] 45adf46d2546433f714b299cac0b0bc0d2b7e7e7e67d960a33afbb1a27491bd4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d88981ec088d56e8885a4fd744ea51ece1a889a9f0414f7d05a0f83dd6c808f5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d88981ec088d56e8885a4fd744ea51ece1a889a9f0414f7d05a0f83dd6c808f5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling input-sys v1.15.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling ioctl-sys v0.5.2
[INFO] [stderr]    Compiling enum_derive v0.1.7
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling uinput-sys v0.1.7
[INFO] [stderr]    Compiling process-memory v0.4.0
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling udev v0.4.0
[INFO] [stderr]    Compiling input v0.5.0
[INFO] [stderr]    Compiling nix v0.10.0
[INFO] [stderr]    Compiling uinput v0.1.3
[INFO] [stderr]    Compiling inputbot v0.5.0
[INFO] [stderr]    Compiling ppt-undo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/sync_ppt.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/state.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/sync_ppt.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::debugapi::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/sync_ppt.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/sync_ppt.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/sync_ppt.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/sync_ppt.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::minwinbase::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/sync_ppt.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::processthreadsapi::{GetThreadContext, OpenProcess, OpenThread, SetThreadContext};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/sync_ppt.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/sync_ppt.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winbase::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/sync_ppt.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winnt::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::um::debugapi::*`, `winapi::um::errhandlingapi::GetLastError`, `winapi::um::handleapi::CloseHandle`, `winapi::um::memoryapi::ReadProcessMemory`, `winapi::um::memoryapi::WriteProcessMemory`, `winapi::um::minwinbase::*`, `winapi::um::processthreadsapi::GetThreadContext`, `winapi::um::processthreadsapi::OpenProcess`, `winapi::um::processthreadsapi::OpenThread`, `winapi::um::processthreadsapi::SetThreadContext`, `winapi::um::psapi::EnumProcessModules`, `winapi::um::psapi::EnumProcesses`, `winapi::um::psapi::GetModuleBaseNameW`, `winapi::um::winbase::*`, `winapi::um::winnt::*`
[INFO] [stdout]   --> src/sync_ppt.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | use winapi::um::debugapi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5  | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6  | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7  | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8  | use winapi::um::minwinbase::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9  | use winapi::um::processthreadsapi::{GetThreadContext, OpenProcess, OpenThread, SetThreadContext};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 | use winapi::um::winbase::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 | use winapi::um::winnt::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/state.rs:17:34
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new_from_proc(handle: HANDLE) -> Result<Self> {
[INFO] [stdout]    |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/state.rs:82:36
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn write_current_piece(handle: HANDLE, piece: u16) -> Result<()> {
[INFO] [stdout]    |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/state.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn write_hold(handle: HANDLE, piece: u16) -> Result<()> {
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/state.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn write_board(handle: HANDLE, columns: Vec<Vec<i16>>) -> Result<()> {
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/state.rs:117:25
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub fn get_seed(handle: HANDLE) -> Result<u16> {
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/state.rs:123:44
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn get_is_current_piece_active(handle: HANDLE) -> Result<bool> {
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Context(CONTEXT);
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DebugActiveProcess` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         w!(DebugActiveProcess(pid));
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:41:45
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     stringify!(f), line!(), GetLastError()
[INFO] [stdout]    |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 57 |         w!(DebugActiveProcess(pid));
[INFO] [stdout]    |         ---------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CREATE_PROCESS_DEBUG_EVENT` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:60:42
[INFO] [stdout]    |
[INFO] [stdout] 60 |         if dbg_event.dwDebugEventCode != CREATE_PROCESS_DEBUG_EVENT {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:65:33
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut continue_kind = DBG_EXCEPTION_NOT_HANDLED;
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |         ContinueDebugEvent(pid, tid, continue_kind);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DebugActiveProcessStop` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |         w!(DebugActiveProcessStop(pid));
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:41:45
[INFO] [stdout]    |
[INFO] [stdout] 41 |                     stringify!(f), line!(), GetLastError()
[INFO] [stdout]    |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 71 |         w!(DebugActiveProcessStop(pid));
[INFO] [stdout]    |         -------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |     process: HANDLE,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:114:45
[INFO] [stdout]     |
[INFO] [stdout] 114 |                         regs.ContextFlags = CONTEXT_ALL;
[INFO] [stdout]     |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:115:28
[INFO] [stdout]     |
[INFO] [stdout] 115 |                         w!(GetThreadContext(thread, &mut regs));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:41:45
[INFO] [stdout]     |
[INFO] [stdout] 41  |                     stringify!(f), line!(), GetLastError()
[INFO] [stdout]     |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 115 |                         w!(GetThreadContext(thread, &mut regs));
[INFO] [stdout]     |                         ---------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:117:28
[INFO] [stdout]     |
[INFO] [stdout] 117 |                         w!(SetThreadContext(thread, &regs));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:41:45
[INFO] [stdout]     |
[INFO] [stdout] 41  |                     stringify!(f), line!(), GetLastError()
[INFO] [stdout]     |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 117 |                         w!(SetThreadContext(thread, &regs));
[INFO] [stdout]     |                         ------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |             CloseHandle(thread);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DEBUG_EVENT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:153:31
[INFO] [stdout]     |
[INFO] [stdout] 153 | unsafe fn wait_for_event() -> DEBUG_EVENT {
[INFO] [stdout]     |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForDebugEvent` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 |     WaitForDebugEvent(&mut event, INFINITE);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:155:35
[INFO] [stdout]     |
[INFO] [stdout] 155 |     WaitForDebugEvent(&mut event, INFINITE);
[INFO] [stdout]     |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |     process: HANDLE,
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn breakpoint(
[INFO] [stdout]     |              - help: you might be missing a type parameter: `<HANDLE>`
[INFO] [stdout] ...
[INFO] [stdout] 165 | ) -> Result<HANDLE> {
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |         w!(ReadProcessMemory(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:41:45
[INFO] [stdout]     |
[INFO] [stdout] 41  |                       stringify!(f), line!(), GetLastError()
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 169 | /         w!(ReadProcessMemory(
[INFO] [stdout] 170 | |             process,
[INFO] [stdout] 171 | |             address as *mut _,
[INFO] [stdout] 172 | |             &mut original as *mut _ as *mut _,
[INFO] [stdout] 173 | |             1,
[INFO] [stdout] 174 | |             &mut rw,
[INFO] [stdout] 175 | |         ));
[INFO] [stdout]     | |___________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 |         w!(WriteProcessMemory(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:41:45
[INFO] [stdout]     |
[INFO] [stdout] 41  |                       stringify!(f), line!(), GetLastError()
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 177 | /         w!(WriteProcessMemory(
[INFO] [stdout] 178 | |             process,
[INFO] [stdout] 179 | |             address as *mut _,
[INFO] [stdout] 180 | |             &0xCC as *const _ as *const _,
[INFO] [stdout] 181 | |             1,
[INFO] [stdout] 182 | |             &mut rw,
[INFO] [stdout] 183 | |         ));
[INFO] [stdout]     | |___________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:187:16
[INFO] [stdout]     |
[INFO] [stdout] 187 |             w!(ContinueDebugEvent(pid, *tid, *continue_kind));
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:41:45
[INFO] [stdout]     |
[INFO] [stdout] 41  |                     stringify!(f), line!(), GetLastError()
[INFO] [stdout]     |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 187 |             w!(ContinueDebugEvent(pid, *tid, *continue_kind));
[INFO] [stdout]     |             -------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_DEBUG_EVENT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:190:42
[INFO] [stdout]     |
[INFO] [stdout] 190 |             if event.dwDebugEventCode != EXCEPTION_DEBUG_EVENT {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXIT_PROCESS_DEBUG_EVENT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:191:46
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 if event.dwDebugEventCode == EXIT_PROCESS_DEBUG_EVENT {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:194:34
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 *continue_kind = DBG_EXCEPTION_NOT_HANDLED;
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_BREAKPOINT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:199:38
[INFO] [stdout]     |
[INFO] [stdout] 199 |             if info.ExceptionCode != EXCEPTION_BREAKPOINT {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:200:34
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 *continue_kind = DBG_EXCEPTION_NOT_HANDLED;
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:204:34
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 *continue_kind = DBG_EXCEPTION_NOT_HANDLED;
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:211:16
[INFO] [stdout]     |
[INFO] [stdout] 211 |             w!(WriteProcessMemory(
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:41:45
[INFO] [stdout]     |
[INFO] [stdout] 41  |                       stringify!(f), line!(), GetLastError()
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 211 | /             w!(WriteProcessMemory(
[INFO] [stdout] 212 | |                 process,
[INFO] [stdout] 213 | |                 address as *mut _,
[INFO] [stdout] 214 | |                 &original as *const _ as *const _,
[INFO] [stdout] 215 | |                 1,
[INFO] [stdout] 216 | |                 &mut rw,
[INFO] [stdout] 217 | |             ));
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:219:26
[INFO] [stdout]     |
[INFO] [stdout] 219 |             let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid);
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:219:37
[INFO] [stdout]     |
[INFO] [stdout] 219 |             let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid);
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:219:58
[INFO] [stdout]     |
[INFO] [stdout] 219 |             let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid);
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:221:33
[INFO] [stdout]     |
[INFO] [stdout] 221 |             regs.ContextFlags = CONTEXT_ALL;
[INFO] [stdout]     |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:222:16
[INFO] [stdout]     |
[INFO] [stdout] 222 |             w!(GetThreadContext(thread, &mut regs));
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:41:45
[INFO] [stdout]     |
[INFO] [stdout] 41  |                     stringify!(f), line!(), GetLastError()
[INFO] [stdout]     |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 222 |             w!(GetThreadContext(thread, &mut regs));
[INFO] [stdout]     |             ---------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:224:16
[INFO] [stdout]     |
[INFO] [stdout] 224 |             w!(SetThreadContext(thread, &regs));
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:41:45
[INFO] [stdout]     |
[INFO] [stdout] 41  |                     stringify!(f), line!(), GetLastError()
[INFO] [stdout]     |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 224 |             w!(SetThreadContext(thread, &regs));
[INFO] [stdout]     |             ------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBG_CONTINUE` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:225:30
[INFO] [stdout]     |
[INFO] [stdout] 225 |             *continue_kind = DBG_CONTINUE;
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:234:22
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid);
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:234:33
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:234:54
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:236:29
[INFO] [stdout]     |
[INFO] [stdout] 236 |         regs.ContextFlags = CONTEXT_ALL;
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:237:12
[INFO] [stdout]     |
[INFO] [stdout] 237 |         if GetThreadContext(thread, &mut regs) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:241:12
[INFO] [stdout]     |
[INFO] [stdout] 241 |         if SetThreadContext(thread, &regs) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |         CloseHandle(thread);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:247:16
[INFO] [stdout]     |
[INFO] [stdout] 247 |             if ContinueDebugEvent(pid, *tid, *continue_kind) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_DEBUG_EVENT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:252:42
[INFO] [stdout]     |
[INFO] [stdout] 252 |             if event.dwDebugEventCode != EXCEPTION_DEBUG_EVENT {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXIT_PROCESS_DEBUG_EVENT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:253:46
[INFO] [stdout]     |
[INFO] [stdout] 253 |                 if event.dwDebugEventCode == EXIT_PROCESS_DEBUG_EVENT {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:256:34
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 *continue_kind = DBG_EXCEPTION_NOT_HANDLED;
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_SINGLE_STEP` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:261:38
[INFO] [stdout]     |
[INFO] [stdout] 261 |             if info.ExceptionCode != EXCEPTION_SINGLE_STEP {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:262:34
[INFO] [stdout]     |
[INFO] [stdout] 262 |                 *continue_kind = DBG_EXCEPTION_NOT_HANDLED;
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBG_CONTINUE` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:265:30
[INFO] [stdout]     |
[INFO] [stdout] 265 |             *continue_kind = DBG_CONTINUE;
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcesses` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:276:12
[INFO] [stdout]     |
[INFO] [stdout] 276 |         if EnumProcesses(
[INFO] [stdout]     |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:286:26
[INFO] [stdout]     |
[INFO] [stdout] 286 |             let handle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process);
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:286:38
[INFO] [stdout]     |
[INFO] [stdout] 286 |             let handle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:286:66
[INFO] [stdout]     |
[INFO] [stdout] 286 |             let handle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process);
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:289:20
[INFO] [stdout]     |
[INFO] [stdout] 289 |                 if EnumProcessModules(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |                     GetModuleBaseNameW(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:308:37
[INFO] [stdout]     |
[INFO] [stdout] 308 | ...                   CloseHandle(handle);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:317:17
[INFO] [stdout]     |
[INFO] [stdout] 317 |                 CloseHandle(handle);
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/sync_ppt.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Context(CONTEXT);
[INFO] [stdout]    |                ^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: Default`
[INFO] [stdout]    = note: required by `std::default::Default::default`
[INFO] [stdout]    = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/sync_ppt.rs:305:57
[INFO] [stdout]     |
[INFO] [stdout] 305 | ...                   let s = std::ffi::OsString::from_wide(&buffer[..i]);
[INFO] [stdout]     |                                                   ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 85 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ppt-undo`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "d88981ec088d56e8885a4fd744ea51ece1a889a9f0414f7d05a0f83dd6c808f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d88981ec088d56e8885a4fd744ea51ece1a889a9f0414f7d05a0f83dd6c808f5", kill_on_drop: false }`
[INFO] [stdout] d88981ec088d56e8885a4fd744ea51ece1a889a9f0414f7d05a0f83dd6c808f5
